#include "wave.h"

//Return true when finished
unit* wave1(list<int> & retpath)
{   
    unit1* newu = new unit1(0,0);
    newu->path = retpath;
    return (unit*)newu;
}

unit* wave2(list<int> & retpath)
{   
    unit2* newu = new unit2(0,0);
    newu->path = retpath;
    return (unit*)newu;
}

unit* wave3(list<int> & retpath)
{   
    unit3* newu = new unit3(0,0);
    newu->path = retpath;
    return (unit*)newu;
}
